package com.woniuxy.list.service;

import com.hc.entity.RankList;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ListService {
    //添加榜单
    int addList(RankList rankList);
    //修改榜单分数
    int updateScoreByListId(Integer id, Integer score);
    //获取所有榜单
    List<RankList> getAllList();
    //根据分类id获取榜单
    List<RankList> getListByClassId(Integer cid);
}
